﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Message_Add.aspx.cs" Inherits="Customer_Message_Add" MasterPageFile="../MasterPage.master" %>
<%@ Import Namespace="Common" %>


<%@ Register src="Customer_Left.ascx" tagname="Customer_Left" tagprefix="uc1" %>


<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
        <td class="leftTd"  valign="top" width="20%">
            <uc1:Customer_Left ID="Customer_Left1" runat="server" />
        </td>
		<td width="85%" valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle"><%= WebUtility.GetTitleByMenu(MenuType) %></td>
		            </tr>
		        </table>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                     <tr>
	                        <td class="leftContent">留言标题：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_TOPIC" runat="server" Width="150px" class="face"></asp:TextBox>
	                            &nbsp; &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                                    runat="server" ControlToValidate="txt_TOPIC" ErrorMessage="请填写留言标题"></asp:RequiredFieldValidator>
                             </td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">留言信息：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_CONTENT" runat="server" Width="308px" class="face" Height="64px" 
                                    TextMode="MultiLine"></asp:TextBox>
	                            &nbsp; &nbsp;</td>
	                    </tr>
	                    <% if (ID != 0)
                        { %>
	                     <tr>
	                        <td class="leftContent">回复留言：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_TOCONTENT" runat="server" Width="308px" class="face" Height="64px" 
                                    TextMode="MultiLine"></asp:TextBox>
	                            </td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">是否回复：</td>
	                        <td class="RightContent">
	                            <asp:DropDownList ID="txt_STATE" runat="server">
                                    <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                                    <asp:ListItem Value="0">否</asp:ListItem>
                                </asp:DropDownList>
                             </td>
	                    </tr>
	                    <% } %>
	                     <tr>
	                        <td class="leftContent" valign="top" style="padding-top:20px;height:30px;"></td>
	                        <td class="RightContent">
                            <asp:Button ID="btnSubmit" runat="server" Text="提 交" CssClass="button" 
                                    onclick="btnSubmit_Click" />
	                        &nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重 置" name="btnReset" class="button"></td>
	                    </tr>
	                </table>
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

